package org.mparts.client.ui;

import com.google.gwt.user.client.ui.IsWidget;
import com.sencha.gxt.widget.core.client.container.SimpleContainer;

public class MpartsCenterContainer extends SimpleContainer {
		public MpartsCenterContainer() {
			super();
		}

		@Override
		public void setWidget(IsWidget w) {
//				clear();
			super.setWidget(w);
			doLayout();
		}

		@Override
		public void onResize() {
			super.onResize();
//				forceLayout();
			doLayout();
		}
	}